package com.tiantian.springtest01.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @ClassName Aservice
 * @Description TODO
 * @Author tant
 * @Date 2025/5/28 9:48
 */
@Component
public class AService {


    @Autowired
//    @Lazy
    private BService bService;


//    @Async
    public void test() {
        System.out.println(bService);

    }
}

    